import {get, post} from '@/utils/axios'

// 查询AppId 获取跳转路径
export function getAppUrl(appId) {
  return get(`/app/getUrlByAppId/${appId}`)
}

// app新增或修改
export function appAddOrUpdate(data) {
  return post('/app/addOrUpdate', data)
}

// 删除App
export function deleteApp(appId) {
  return get(`/app/delete/${appId}`)
}

// APP 列表查询
export function getList(data) {
  return get('/app/list',data)
}
